﻿namespace N2.Details
{
	public static class ContentDetailExtensions
	{
		public static bool Rename(this ContentDetail detail, string name)
		{
			if (string.Equals(detail.Name, name)) {
				return false;
			}
			detail.Name = name;
			return true;
		}
	}
}
